<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>查询用户</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/searchUser.css">
</head>
<body>
<div class="container mt-5">
    <h3>查询用户及其角色</h3>
    <form method="post" action="${pageContext.request.contextPath}/user/search" class="mt-3">
        <div class="form-group">
            <label for="username">用户名：</label>
            <input type="text" class="form-control" id="username" name="username" required>
        </div>
        <button type="submit" class="btn btn-primary">查询</button>
        <a href="${pageContext.request.contextPath}/index.jsp" class="btn btn-secondary ml-2">返回首页</a>
    </form>
</div>
</body>
</html>
